package com.arong.swing.db.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

public class CrAddPerson  implements Serializable{ 

	/**
	 * 
	 */
	private static final long serialVersionUID = 528331084231025307L;

	private String id;

	private String hcjlId;

	private String checkeventId;

	private String sfzh;

	private String xm;

	private String mz;

	private String xb;

	private String csrq;

	private String sfzzz;

	private String qfjg;

	private String yxqx;

	private Timestamp sj;

	private byte[] zp;

	private  byte[] fingerprint;

	private String zzdxz;

	private String xcszy;

	private Timestamp lbdrq;

	private String lxdh;

	private String descPerson;

	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return id;
	}

	public void setHcjlId(String hcjlId) {
		this.hcjlId = hcjlId;
	}
	
	public String getHcjlId() {
		return hcjlId;
	}

	public void setCheckeventId(String checkeventId) {
		this.checkeventId = checkeventId;
	}
	
	public String getCheckeventId() {
		return checkeventId;
	}

	public void setSfzh(String sfzh) {
		this.sfzh = sfzh;
	}
	
	public String getSfzh() {
		return sfzh;
	}

	public void setXm(String xm) {
		this.xm = xm;
	}
	
	public String getXm() {
		return xm;
	}

	public void setMz(String mz) {
		this.mz = mz;
	}
	
	public String getMz() {
		return mz;
	}

	public void setXb(String xb) {
		this.xb = xb;
	}
	
	public String getXb() {
		return xb;
	}

	public void setCsrq(String csrq) {
		this.csrq = csrq;
	}
	
	public String getCsrq() {
		return csrq;
	}

	public void setSfzzz(String sfzzz) {
		this.sfzzz = sfzzz;
	}
	
	public String getSfzzz() {
		return sfzzz;
	}

	public void setQfjg(String qfjg) {
		this.qfjg = qfjg;
	}
	
	public String getQfjg() {
		return qfjg;
	}

	public void setYxqx(String yxqx) {
		this.yxqx = yxqx;
	}
	
	public String getYxqx() {
		return yxqx;
	}

	public void setSj(Timestamp sj) {
		this.sj = sj;
	}
	
	public Timestamp getSj() {
		return sj;
	}

	public byte[] getZp() {
		return zp;
	}

	public void setZp(byte[] zp) {
		this.zp = zp;
	}

	public byte[] getFingerprint() {
		return fingerprint;
	}

	public void setFingerprint(byte[] fingerprint) {
		this.fingerprint = fingerprint;
	}

	public void setZzdxz(String zzdxz) {
		this.zzdxz = zzdxz;
	}
	
	public String getZzdxz() {
		return zzdxz;
	}

	public void setXcszy(String xcszy) {
		this.xcszy = xcszy;
	}
	
	public String getXcszy() {
		return xcszy;
	}

	public void setLbdrq(Timestamp lbdrq) {
		this.lbdrq = lbdrq;
	}
	
	public Timestamp getLbdrq() {
		return lbdrq;
	}

	public void setLxdh(String lxdh) {
		this.lxdh = lxdh;
	}
	
	public String getLxdh() {
		return lxdh;
	}

	public void setDescPerson(String descPerson) {
		this.descPerson = descPerson;
	}
	
	public String getDescPerson() {
		return descPerson;
	}

	public boolean equals(Object obj) {
		boolean equals = false;
		if (obj != null && obj instanceof CrAddPerson) {
			CrAddPerson another = (CrAddPerson) obj;
			equals = new EqualsBuilder()
					.append(id, another.getId())
					.isEquals();
		}
		return equals;
	}
	
	public int hashCode() {
		return new HashCodeBuilder(17, 37)
				.append(id)
				.toHashCode();
	}
	
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", getId())
				.toString();
	}
}